package com.demandbreakdown.xiyun.model.dto.space;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 空间成员角色更新DTO
 *
 * @author poxz
 */
@Data
@Schema(description = "空间成员角色更新DTO")
public class SpaceUserRoleUpdateDTO {

    @Schema(description = "用户角色：owner/editor/viewer", example = "editor")
    @NotBlank(message = "用户角色不能为空")
    private String userRole;
}
